package com.yun.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.converters.string.StringImageConverter;
import lombok.Data;

import java.io.File;
import java.io.InputStream;


@ContentRowHeight(100)
@ColumnWidth(100 / 8)
public class ImageData {
    @ExcelProperty(index = 0,value = "编号")
     private File file;
  //  private InputStream inputStream;
    /**
     * 如果string类型 必须指定转换器，string默认转换成string
     */
    //@ExcelProperty(converter = StringImageConverter.class,index = 0,value = "编号")
    //private String string;
  //  private byte[] byteArray;


    public File getFile() {
        return file;
    }

    public void setFile(File file) {
        this.file = file;
    }


}
